cmake_minimum_required(VERSION 3.8)
project(general_interface)

# find dependencies
find_package(std_msgs REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(rosidl_default_generators REQUIRED)

rosidl_generate_interfaces(${PROJECT_NAME}
  "msg/ChassisControl.msg"
  "msg/ControlSignal.msg"
  "msg/ChassisState.msg"
  "msg/ChassisServo.msg"
  "msg/WorkMode.msg"
  "msg/InstanceMessage.msg"
  "srv/ModeSelection.srv"
  "srv/GetAllInstances.srv"
  "srv/GetInstance.srv"
  "srv/RegistInstance.srv"
  "action/SwitchConnection.action"
  "action/AutoTask.action"
  "action/SwitchMode.action"
  "action/AutoDock.action"
  DEPENDENCIES
  "std_msgs"
  "geometry_msgs"
)

ament_export_dependencies(rosidl_default_runtime)

ament_package()
